<?php
    include '../../../controlador/php/conexion/Conexion.php';
    $con = new Conexion();
    
    $oid = $_REQUEST['oid'];
    
    $select = "select * from dnsetramite where oid = '".$oid."'";
    $res = $con->query($select);
    
    
    while ($respu = mssql_fetch_array($res)){
        $respuesta[] = $respu;
    }
    
    $con->cerrarConexion();
    
    print_r(json_encode($respuesta))
 
?>
